package package6;

import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;

public class Test {
	public static void main(String args[]) throws IOException{
	Test te=new Test();
	int[]out=null;
	out=te.read();
	te.output(out);
	}
    public int[] read() throws IOException{
    	int[]charin=new int[1000];
    	int in=-1;
    	int num=0;
    	int[]out = null;
    	InputStream hu=System.in;
    	while((in=hu.read())!=-1){
    		charin[num++]=in;    	    
    	}
   // System.arraycopy(charin,0,out,0,num);
   for(int i=0;i<num;i++){
	   out[i]=charin[i];
   }
    	return out;
    }
public void output(int[]out){
	for(int i=0;i<out.length;i++){
		System.out.print(out[i]);
		if((i%10)==0){
			System.out.println();
		}
	}
}
}
